package com.example.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author wangwenlong@dhcc.com.cn
 * @description:
 * @date 2023/12/14 20:54
 */
@RestController
@Slf4j
@Api(tags = "登录相关接口")
public class LoginController {

    @GetMapping("/login")
    @ApiOperation("登录接口")
    public void login(){
        log.info("已登录");
    }


    @GetMapping("/logout")
    @ApiOperation("退出接口")
    public void logout(){
        log.info("已退出");
    }
}
